package modules.entity
{

	public final class ActionType
	{
		public static const NULL:String = "null";

		public static const DRAW:String = "draw_tile";

		public static const RAISE:String = "raise";

		public static const CALL:String = "call";

		public static const FOLD:String = "fold";

		public static const CHECK:String = "check";

		public static const INIT:String = "init";

		public static const END:String = "end";

		public static const BONUS:String = "bonus";

		public static const GET:String = "get";

		public static const DISCARD:String = "show_discard";

		public static const SMALLBLIND:String = "smallBlind";

		public static const BIGBLIND:String = "bigBlind";

		public static const WIN:String = "win";

		public static const CALLTOTALBLIND:String = "callTotalBlind";

		public static const BET:String = "bet";

		public static const WINJACKPOT:String = "winJackpot";

		public static const LOSE:String = "lose";

		public static const SITOUT:String = "sitout";

		private static var typeValues:Array = [DRAW, RAISE, CALL, FOLD, CHECK, INIT, END, BONUS, GET, DISCARD, SMALLBLIND, BIGBLIND, WIN, CALLTOTALBLIND, BET, WINJACKPOT];

		public static function getTypeValue(value:String):String
		{
			return typeValues[parseInt(value)];
		}
	}
}
